package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class CategoryList extends AppItem implements Serializable {
	
	String id;
	String title;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		title = obj.optString("title");

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Override
	public String toString() {
		return "CategoryList [id=" + id + ", title=" + title + "]";
	}

	

}
